﻿using System;

namespace Mbs.ComponentModel
{
    public interface IChangedService:IDisposable
    {
        event EventHandler AcceptedChanged;

        void SuspendChanged();
        void ResumeChanged();

        void MarkChanged();

        bool HasChanged { get; }
        void AcceptChanged();

        void AddService(IChangedService service);
        void RemoveService(IChangedService service);
    }
}
